/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cc.altius.dao;

import cc.altius.model.SmsDetails;
import cc.altius.model.SmsSituation;
import cc.altius.model.SmsTemplate;
import cc.altius.model.SmsType;
import java.util.List;
import java.util.Map;

/**
 *
 * @author sagar
 */
public interface SmsDao {
    
    public int addSms(int customerId, int smsTypeId, String smsBody, String smsPhoneNos, int statusId, String response);
    
    public List<SmsDetails> getFailedSmsList(); 
    
    public List<SmsType> getSmsTypeList();
    
    public List<SmsSituation> getSmsSituationList();
    
    public int UpdateSms(SmsDetails sms);
    
    //public  SmsType SmsTypeName(int smsTypeId);
    
    public  SmsTemplate SmsTemplateName(int smsTemplateId);
    
    public List<SmsDetails> getSuccessSmsListForReport(String startDate, String stopDate);
    
    public List<SmsDetails> getPendingSmsListForReport(String startDate, String stopDate);
    
    public List<SmsDetails> getFailedSmsListForReport(String startDate, String stopDate);
    
    List<SmsDetails> getFailedSmsListDateWise(String startDate, String stopDate);
    
    public void resendSmsViaButton(int smsId);
    
    //for sms reorts
    
    public List<Map<String, Object>> reportSmsStatus(String startDate, String stopDate);
    
}
